package com.gm.wholesale.module.settlement.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

public class CustomerSettlementDetail implements Serializable {

    @SerializedName("id")
    private long id;
    @SerializedName("no")
    private String no;
    @SerializedName("name")
    private String name;
    @SerializedName("customerId")
    private long customerId;
    @SerializedName("tenantId")
    private int tenantId;
    @SerializedName("status")
    private int status;
    @SerializedName("totalAmount")
    private double totalAmount;
    @SerializedName("paidAmount")
    private double paidAmount;
    @SerializedName("refundAmount")
    private double refundAmount;
    @SerializedName("orderRefundAmount")
    private double orderRefundAmount;
    @SerializedName("discountAmount")
    private double discountAmount;
    @SerializedName("balanceAmount")
    private double balanceAmount;
    @SerializedName("lastestPaidtime")
    private String lastestPaidtime;
    @SerializedName("payWay")
    private String payWay;
    @SerializedName("createTime")
    private String createTime;
    @SerializedName("updateTime")
    private String updateTime;
    @SerializedName("customerSettlementDetail")
    private List<CustomerSettlementDetailsBean> customerSettlementDetails;
    @SerializedName("customerSettlementJournals")
    private List<CustomerSettlementJournalsBean> customerSettlementJournals;
    @SerializedName("version")
    private long version;
    @SerializedName("shouldPayAmount")
    private double shouldPayAmount;

    public double getShouldPayAmount() {
        return shouldPayAmount;
    }

    public void setShouldPayAmount(double shouldPayAmount) {
        this.shouldPayAmount = shouldPayAmount;
    }

    public long getVersion() {
        return version;
    }

    public void setVersion(long version) {
        this.version = version;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(long customerId) {
        this.customerId = customerId;
    }

    public int getTenantId() {
        return tenantId;
    }

    public void setTenantId(int tenantId) {
        this.tenantId = tenantId;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public double getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(double totalAmount) {
        this.totalAmount = totalAmount;
    }

    public double getPaidAmount() {
        return paidAmount;
    }

    public void setPaidAmount(double paidAmount) {
        this.paidAmount = paidAmount;
    }

    public double getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(double refundAmount) {
        this.refundAmount = refundAmount;
    }

    public double getOrderRefundAmount() {
        return orderRefundAmount;
    }

    public void setOrderRefundAmount(double orderRefundAmount) {
        this.orderRefundAmount = orderRefundAmount;
    }

    public double getDiscountAmount() {
        return discountAmount;
    }

    public void setDiscountAmount(double discountAmount) {
        this.discountAmount = discountAmount;
    }

    public double getBalanceAmount() {
        return balanceAmount;
    }

    public void setBalanceAmount(double balanceAmount) {
        this.balanceAmount = balanceAmount;
    }

    public String getLastestPaidtime() {
        return lastestPaidtime;
    }

    public void setLastestPaidtime(String lastestPaidtime) {
        this.lastestPaidtime = lastestPaidtime;
    }

    public String getPayWay() {
        return payWay;
    }

    public void setPayWay(String payWay) {
        this.payWay = payWay;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public List<CustomerSettlementDetailsBean> getCustomerSettlementDetails() {
        return customerSettlementDetails;
    }

    public void setCustomerSettlementDetails(List<CustomerSettlementDetailsBean> customerSettlementDetails) {
        this.customerSettlementDetails = customerSettlementDetails;
    }

    public List<CustomerSettlementJournalsBean> getCustomerSettlementJournals() {
        return customerSettlementJournals;
    }

    public void setCustomerSettlementJournals(List<CustomerSettlementJournalsBean> customerSettlementJournals) {
        this.customerSettlementJournals = customerSettlementJournals;
    }

    public static class CustomerSettlementDetailsBean implements Serializable{
        @SerializedName("id")
        private long id;
        @SerializedName("no")
        private String no;
        @SerializedName("customerSettlementId")
        private long customerSettlementId;
        @SerializedName("customerSettlementNo")
        private String customerSettlementNo;
        @SerializedName("customerId")
        private long customerId;
        @SerializedName("tenantId")
        private double tenantId;
        @SerializedName("orderId")
        private double orderId;
        @SerializedName("afterSaleId")
        private double afterSaleId;
        @SerializedName("amount")
        private double amount;
        @SerializedName("type")
        private int type;
        @SerializedName("createTime")
        private String createTime;
        @SerializedName("updateTime")
        private String updateTime;
        @SerializedName("customerName")
        private String customerName;
        @SerializedName("status")
        private int status;
        @SerializedName("version")
        private long version;

        public long getVersion() {
            return version;
        }

        public void setVersion(long version) {
            this.version = version;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getCustomerName() {
            return customerName;
        }

        public void setCustomerName(String customerName) {
            this.customerName = customerName;
        }

        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }

        public String getNo() {
            return no;
        }

        public void setNo(String no) {
            this.no = no;
        }

        public long getCustomerSettlementId() {
            return customerSettlementId;
        }

        public void setCustomerSettlementId(long customerSettlementId) {
            this.customerSettlementId = customerSettlementId;
        }

        public String getCustomerSettlementNo() {
            return customerSettlementNo;
        }

        public void setCustomerSettlementNo(String customerSettlementNo) {
            this.customerSettlementNo = customerSettlementNo;
        }

        public long getCustomerId() {
            return customerId;
        }

        public void setCustomerId(long customerId) {
            this.customerId = customerId;
        }

        public double getTenantId() {
            return tenantId;
        }

        public void setTenantId(double tenantId) {
            this.tenantId = tenantId;
        }

        public double getOrderId() {
            return orderId;
        }

        public void setOrderId(double orderId) {
            this.orderId = orderId;
        }

        public double getAfterSaleId() {
            return afterSaleId;
        }

        public void setAfterSaleId(double afterSaleId) {
            this.afterSaleId = afterSaleId;
        }

        public double getAmount() {
            return amount;
        }

        public void setAmount(double amount) {
            this.amount = amount;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }
    }

    public static class CustomerSettlementJournalsBean implements Serializable{
        @SerializedName("id")
        private long id;
        @SerializedName("no")
        private String no;
        @SerializedName("customerSettlementId")
        private int customerSettlementId;
        @SerializedName("customerSettlementNo")
        private String customerSettlementNo;
        @SerializedName("customerId")
        private long customerId;
        @SerializedName("tenenatId")
        private String tenenatId;
        @SerializedName("type")
        private int type;
        @SerializedName("amount")
        private double amount;
        @SerializedName("balance")
        private double balance;
        @SerializedName("createTime")
        private String createTime;

        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }

        public String getNo() {
            return no;
        }

        public void setNo(String no) {
            this.no = no;
        }

        public int getCustomerSettlementId() {
            return customerSettlementId;
        }

        public void setCustomerSettlementId(int customerSettlementId) {
            this.customerSettlementId = customerSettlementId;
        }

        public String getCustomerSettlementNo() {
            return customerSettlementNo;
        }

        public void setCustomerSettlementNo(String customerSettlementNo) {
            this.customerSettlementNo = customerSettlementNo;
        }

        public long getCustomerId() {
            return customerId;
        }

        public void setCustomerId(long customerId) {
            this.customerId = customerId;
        }

        public String getTenenatId() {
            return tenenatId;
        }

        public void setTenenatId(String tenenatId) {
            this.tenenatId = tenenatId;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public double getAmount() {
            return amount;
        }

        public void setAmount(double amount) {
            this.amount = amount;
        }

        public double getBalance() {
            return balance;
        }

        public void setBalance(double balance) {
            this.balance = balance;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }
    }
}
